package com.alks.function.data.dto.produce;

import com.alks.entity.data.i18n.TranslateFieldSerializer;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author MS
 */
@Data
public class DispatchOtherTempDto {

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @ApiModelProperty(value = "生产日期")
    private LocalDateTime dispatchDate;

    @ApiModelProperty(value = "指令")
    private String lotNo;

    @ApiModelProperty(value = "型体")
    private String style;

    @ApiModelProperty(value = "工序部位")
    @JsonSerialize(using = TranslateFieldSerializer.class)
    private String partName;

    @ApiModelProperty(value = "操作人")
    private String workerName;

    @ApiModelProperty(value = "开始轮数")
    private String lsNo;

    @ApiModelProperty(value = "结束轮数")
    private String lsNo2;

    @ApiModelProperty(value = "派工数量")
    private String dispatchQty;

    @ApiModelProperty(value = "派工人员")
    private String dispatchName;

    @ApiModelProperty(value = "派工标签")
    private String dispatchType;

    @ApiModelProperty(value = "补单号")
    private String dispatchDept;

    @ApiModelProperty(value = "派工单打印标志位")
    private String printFlag;

    @ApiModelProperty(value = "操作人ID")
    private String workerIdNo;

    @ApiModelProperty(value = "颜色")
    private String color;

    @ApiModelProperty(value = "订单量")
    private String orderQty;


}
